u-boot: Merge ostree's and systems uEnv.txt
authorGatis Paeglis <gatis.paeglis@qt.io>
Tue, 23 Aug 2016 12:32:35 +0000 (14:32 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 27 Aug 2016 13:11:22 +0000 (13:11 +0000)
commitb6ec7526b58fa6d42792c460f3eedff410cb2c60
treed0c20db49fed38432d95f6f3fb3825b1dfa3c6c8
parent47b0b4120a9bb3d68318b7e479b1314183857868
u-boot: Merge ostree's and systems uEnv.txt

This is a proper fix for:
https://bugzilla.gnome.org/show_bug.cgi?id=755787

With this patch, an admin (system builder) can now:

1) Edit /usr/lib/ostree-boot/uEnv.txt
2) Deploy the new tree. OSTree will append system's uEnv.txt
   to the OSTree's managed uEnv.txt (loader/uEnv.txt).

It is common for u-boot systems to read in an extra env
from external /uEnv.txt. The same file OSTree uses to pass
in its env. With this patch /uEnv.txt now contains OSTree's
env + custom env added by system builders.

Closes: #466
Approved by: cgwalters
src/libostree/ostree-bootloader-uboot.c
tests/admin-test.sh
tests/test-admin-deploy-grub2.sh
tests/test-admin-deploy-syslinux.sh
tests/test-admin-deploy-uboot.sh